from rest_framework import serializers
from .models import Dorm, DormAssignment

class DormSerializer(serializers.ModelSerializer):
    class Meta:
        model = Dorm
        fields = '__all__'

class DormAssignmentSerializer(serializers.ModelSerializer):
    class Meta:
        model = DormAssignment
        fields = '__all__'